package com.ayf.payment.game.api.httpclient;

import org.apache.http.client.config.RequestConfig;

/**
 * @Description: 设置连接的参数
 * @Author: zh-liang
 */
public class MyRequestConfig {
    private static RequestConfig requestConfig = RequestConfig.custom()
            .setSocketTimeout(15000).setConnectTimeout(15000)
            .setConnectionRequestTimeout(15000).build();

    public static RequestConfig getRequestConfig() {
        return requestConfig;
    }
}
